package com.baizw.cultivation.module.admin.service.impl;

import com.baizw.cultivation.module.admin.entity.DictDataEntity;
import com.baizw.cultivation.module.admin.entity.DictTypeEntity;
import com.baizw.cultivation.module.admin.mapper.DictDataMapper;
import com.baizw.cultivation.module.admin.mapper.DictTypeMapper;
import com.baizw.cultivation.module.admin.page.DictTypeSearch;
import com.baizw.cultivation.module.admin.service.DictTypeService;
import com.baizw.cultivation.util.DictUtils;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import java.util.List;

/**
 * 字典类型表接口实现
 *
 * @author 剧终1204
 * @version V1.0
 * @date 2020年06月29日 11:27
 */
@Service
public class DictTypeServiceImpl extends ServiceImpl<DictTypeMapper, DictTypeEntity> implements DictTypeService {

    @Override
    public IPage<DictTypeEntity> pageByParams(DictTypeSearch<DictTypeEntity> page) {
        return baseMapper.pageByParams(page);
    }
}
